<%--
    Document   : index
    Created on : Jun 1, 2016, 2:06:23 PM
    Author     : niugao
--%>
<%@page contentType="text/html" pageEncoding="UTF-8" %>
<%
    String GOODID="goodid";
%>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>主页</title>
    <%@ taglib prefix="jstl" uri="http://java.sun.com/jsp/jstl/core"  %>
    <%--<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>--%>
    <link rel="stylesheet" type="text/css" href="../css/main.css">
    <link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
    <script src="../js/jquery-1.12.4.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="../js/bootstrap.min.js"></script>
    <style>
        .container input {
            width: 100%;
        }

        .container div {
            margin: 0px 0px;
            outline: none;
        }
    </style>
    <style type="text/css">
        table.imagetable {
            font-family: verdana,arial,sans-serif;
            font-size:11px;
            color:#333333;
            border-width: 1px;
            border-color: #999999;
            border-collapse: collapse;
        }
        table.imagetable th {
            background:#b5cfd2 url('../img/cell-blue.jpg');
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #999999;
        }
        table.imagetable td {
            background:#dcddc0 url('../img/cell-grey.jpg');
            border-width: 1px;
            padding: 8px;
            border-style: solid;
            border-color: #999999;
        }
    </style>
    <script>


        function back() {
            //关掉对话框
            window.history.back(-1);
        }
    </script>
</head>
<body style="background: url(../img/bg5.jpg) no-repeat fixed center;padding:0px">

<div style="text-align: center;padding: 0px">
    <div class="container" style="padding: 0px">
        <div class="row" style="padding: 0px">
            <div class="ol-lg-2 col-md-2 col-sm-2 col-xs-2"  ></div>
            <div class="ol-lg-8 col-md-8 col-sm-7 col-xs-8">
                <jsp:include page="top_bar.jsp" flush="true"/>
            </div>
            <div class="ol-lg-2 col-md-2 col-sm-2 col-xs-2" ></div>
        </div>
        <div class="row" style="height: 400px" >
            <div class="ol-lg-3 col-md-3 col-sm-2 col-xs-3" ></div>

            <div class="ol-lg-7 col-md-7 col-sm-7 col-xs-7">
                </br>
                <table cellspacing="20"  border="1" width="80%">
                    <tr>
                        <td>
                            图片
                        </td>
                        <td>
                            名菜
                        </td>
                        <td>
                            单价
                        </td>
                        <td width="50px">
                            数量
                        </td>
                    </tr>
                    <jstl:forEach items="${ordertwos}" var="std">
                        <tr id='${std.id}'>
                            <td>
                                <img src='${std.goodimage}'
                                     width="50px" height="50px">
                            </td>
                            <td>
                                    ${std.goodname}
                            </td>
                            <td>
                                    ${std.price}
                            </td>
                            <td >
                                    ${std.goodid}
                            </td>
                        </tr>
                    </jstl:forEach>
                </table>
            </div>
            <div class="ol-lg-2 col-md-2 col-sm-2 col-xs-2" ></div>
        </div>
        <div class="row">
            <div class="ol-lg-2 col-md-2 col-sm-2 col-xs-2"  ></div>
            <div class="ol-lg-8 col-md-8 col-sm-8 col-xs-8">
                <jsp:include page="bottom.jsp" flush="true" />
            </div>
            <div class="ol-lg-2 col-md-2 col-sm-2 col-xs-2" ></div>
        </div>
    </div>
</div>

</body>
</html>
